import request from "@/utils/request";

//  报工单列表
export function getOtherReportList(data) {
  return request({
    url: "/otherReport/list",
    method: "get",
    params:data,
  });
}
//  报工单新增
export function addReportList(data) {
  return request({
    url: "/otherReport/add",
    method: "post",
    data,
  });
}
//  报工单获取详情
export function getReportById(data) {
  return request({
    url: "/otherReport/getById",
    method: "post",
    data,
  });
}
// 报工单删除
export function delOtherReportById(data) {
  return request({
    url: "/otherReport/deleteById",
    method: "post",
    data,
  });
}
//  
export function getProduceList(data) {
  return request({
    url: "/otherReport/getProduceList",
    method: "get",
    params:data,
  });
}

//  报工单修改状态
export function updateStatus(data) {
  return request({
    url: "/otherReport/updateStatus",
    method: "post",
    data,
  });
}
